const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave: false,
  devServer: {
    // port: port,
    open: true,
    // overlay: {
    //   warnings: false,
    //   errors: true
    // },
    proxy: {
      '/api': {
        target: 'http://likede2-admin.itheima.net/likede/'
      }
    }
    // before: require('./mock/mock-server.js')
  }
})
